﻿Imports System.Runtime.Serialization

Partial Public Class LLibreCaixaDespesaIngres
    <DataMember()> _
    Public Property EsDespesa As Boolean?
        Get
            If Me.EntityState <> EntityState.Detached Then
                If Not TipusDespesaIngresReference.IsLoaded Then TipusDespesaIngresReference.Load()
                Return Me.TipusDespesaIngres.EsGasto
            Else
                Return Nothing
            End If
        End Get
        Set(value As Boolean?)
            'Ho ignorem
        End Set
    End Property
End Class
